package cn.yunhe.model;
/**
 * 
 * @author Administrator
 *
 */
public class User {

	private int id;
	private String name;
	private String pass;
	private String phone;
	private String username;
	private int isadmin;
	
	
	public User(String name, String pass, String phone, String username) {
		this.name = name;
		this.pass = pass;
		this.phone = phone;
		this.username = username;
	}
	public User(int id, String name, String pass, String phone, String username, int isadmin) {
		this.id = id;
		this.name = name;
		this.pass = pass;
		this.phone = phone;
		this.username = username;
		this.isadmin = isadmin;
	}
	public User() {
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPass() {
		return pass;
	}
	public void setPass(String pass) {
		this.pass = pass;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public int getIsadmin() {
		return isadmin;
	}
	public void setIsadmin(int isadmin) {
		this.isadmin = isadmin;
	}
	
	
	
}
